package com.linlong.linlongchat.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linlong.linlongchat.domain.po.User;

public interface UserMapper extends BaseMapper<User>
{   Integer updateUsername(String account, String username);
    Integer updateSignature( String account, String signature);
    User findByEmail ( String email);
    void updatePassword(String email,  String password);
    User selectByUsername(String username);
    User selectByAccount(String account);
    User selectByEmail(String email);
    User getUserByAccount(String account);

    Integer updateSex(String account, Integer sex);
}



